package Bean;

/**
 * Created by Administrator on 2018/4/20.
 */

public class Updateapp {


    /**
     * data : {"version":{"gmtCreate":1542793500000,"gmtModified":1542793500000,"id":1,"type":2,"updateUrl":"http://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/appVersion/%E7%95%85%E4%BA%AB%E5%90%88%E4%BC%99%E4%BA%BA1.0.1.apk","version":"1.0.1"}}
     * msg : success
     * result : 00000000
     */

    private DataBean data;
    private boolean msg;
    private String result;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean getMsg() {
        return msg;
    }

    public void setMsg(boolean msg) {
        this.msg = msg;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public static class DataBean {
        /**
         * version : {"gmtCreate":1542793500000,"gmtModified":1542793500000,"id":1,"type":2,"updateUrl":"http://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/appVersion/%E7%95%85%E4%BA%AB%E5%90%88%E4%BC%99%E4%BA%BA1.0.1.apk","version":"1.0.1"}
         */

        private VersionBean version;

        public VersionBean getVersion() {
            return version;
        }

        public void setVersion(VersionBean version) {
            this.version = version;
        }

        public static class VersionBean {
            /**
             * gmtCreate : 1542793500000
             * gmtModified : 1542793500000
             * id : 1
             * type : 2
             * updateUrl : http://rylm-pos-oss.oss-cn-hangzhou.aliyuncs.com/appVersion/%E7%95%85%E4%BA%AB%E5%90%88%E4%BC%99%E4%BA%BA1.0.1.apk
             * version : 1.0.1
             */

            private long gmtCreate;
            private long gmtModified;
            private int id;
            private int type;
            private String updateUrl;
            private int version;

            public long getGmtCreate() {
                return gmtCreate;
            }

            public void setGmtCreate(long gmtCreate) {
                this.gmtCreate = gmtCreate;
            }

            public long getGmtModified() {
                return gmtModified;
            }

            public void setGmtModified(long gmtModified) {
                this.gmtModified = gmtModified;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getUpdateUrl() {
                return updateUrl;
            }

            public void setUpdateUrl(String updateUrl) {
                this.updateUrl = updateUrl;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }
        }
    }
}
